//
//  XMCSTableViewHeaderView.h
//  XMJJ_zml
//
//  Created by 杨何华 on 2025/5/23.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^headerViewBlock)(BOOL selected);


@interface XMCSTableViewHeaderView : UIView

@property (nonatomic, strong) UILabel *currentCityLabel;
@property (nonatomic, strong) UIButton *rightButton;

@property (nonatomic, copy) headerViewBlock headerBlock;

- (instancetype)initWithFrame:(CGRect)frame hideSwitchButton:(BOOL)hidden;

- (void)updateCurrentCity:(NSString *)name;

- (void)headerViewBlock:(headerViewBlock)blcok;

@end

NS_ASSUME_NONNULL_END
